<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <title>PWA</title>
        <link rel="manifest" href="./pwa.json" />
    </head>
    <body>
        <div>
        </div>
        <!-- 引入PWA主文件 -->
        <script type="text/javascript" src="../src/pwa.js"></script>
        <script type="text/javascript">
            //你的js代码

        </script>
    </body>
</html>